package com.luoyuanxiangvip.common.annotation;

import java.lang.annotation.*;

/**
 * @author: luoyuanxiang
 * @className: Logs
 * @packageName: com.luoyuanxiangvip.common.annotation
 * @description: 日志注解
 * @data: 2019/5/25 20:55
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Logs {
    /**
     * 描述
     * @return String
     */
    String value() default "";

    /**
     * 是否保存数据库
     * @return boolean
     */
    boolean required() default false;
}
